import request from '@/utils/request.js'
// 岗位列表
export const jobGet = (page=1,cateName)=>{
	let skip = (page-1)*10
	let where = {}
	if(cateName){
		where.cateLv1 = cateName
	}
	return request.get('classes/ReactJob',{
		params:{
			limit:10,
			skip,
			where
		}
	})
}

// 岗位详情
export const jobDetailGet = (id)=>{
	return request.get(`classes/ReactJob/${id}`)
}

// 分类数据
export const categoryGet = ()=>{
	return request.get('classes/ReactCategory')
}